package com.guoyansoft.model.pojo;

import java.io.Serializable;

/**
 * @author ：高凡
 * @date ：Created in 2023-04-25-21:08
 * @description：调度员实体
 */
public class Yardman implements Serializable {
    //编号
    private Integer id;
    //姓名
    private String name;
    //电话
    private String phone;
    //年龄
    private Integer age;
    //性别
    private String gender;
    //密码
    private String pass;
    //所属店铺
    private Shop shop;

    public Yardman(Integer id, String name, String phone, Integer age, String gender, String pass, Shop shop) {
        this.id = id;
        this.name = name;
        this.phone = phone;
        this.age = age;
        this.gender = gender;
        this.pass = pass;
        this.shop = shop;
    }

//    public Yardman(String name, String phone, Integer age, String gender, String pass, Shop shop) {
//        this.name = name;
//        this.phone = phone;
//        this.age = age;
//        this.gender = gender;
//        this.pass = pass;
//        this.shop = shop;
//    }

    public Yardman() {
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public String getGender() {
        return gender;
    }

    public void setGender(String gender) {
        this.gender = gender;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getPass() {
        return pass;
    }

    public void setPass(String pass) {
        this.pass = pass;
    }

    public Shop getShop() {
        return shop;
    }

    public void setShop(Shop shop) {
        this.shop = shop;
    }

    @Override
    public String toString() {
        return "Yardman{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", phone=" + phone +
                ", age=" + age +
                ", gender='" + gender + '\'' +
                ", pass='" + pass + '\'' +
                ", shop=" + shop +
                '}';
    }
}
